package com.szrt.day20170413.ch03.child;

import com.szrt.day20170413.ch03.Person;

public class Student extends Person {
	
	
	private String school;

	public String getSchool() {
		return school;
	}

	public void setSchool(String school) {
		this.school = school;
	}
	
	@Override
	public void changge(){
		super.changge();
		System.out.println("世上只有妈妈好...");
	}

	@Override
	public String toString() {
		String father="";
		father =super.toString();
		return  father+ "Student [school=" + school + "]";
	}
	
	
	
	
	
	

}
